﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class cn_contact : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        DB db = new DB();
        Contact contact = db.getContact(1);
        addLabel.Text += contact.Address_cn;
        foreach (string s in contact.PhoneNumber)
        {
            telLabel.Text += s + " ";
        }
        foreach (string k in contact.Fax)
        {
            faxLabel.Text += k + " ";
        }
        emailLabel.Text += contact.Email;
    }
}
